package com.ruoyi.dmsIms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 接口执行对象 inter_operation
 * 
 * @author ZhangSiRui
 * @date 2022-01-27
 */
public class InterOperation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 操作人 */
    @Excel(name = "操作人")
    private String userName;

    /** 接口ID */
    @Excel(name = "接口ID")
    private Long interId;

    /** 接口结果；0：成功；1：失败 */
    @Excel(name = "接口结果；0：成功；1：失败")
    private Integer interRes;

    /** $column.columnComment */
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setInterId(Long interId) 
    {
        this.interId = interId;
    }

    public Long getInterId() 
    {
        return interId;
    }
    public void setInterRes(Integer interRes) 
    {
        this.interRes = interRes;
    }

    public Integer getInterRes() 
    {
        return interRes;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userName", getUserName())
            .append("interId", getInterId())
            .append("interRes", getInterRes())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
